#include "junix.h"

int main(int argc, char **argv)
{
	int v[] = {1,2,3,4,5};
	int v2[5];
	//copy(v,v+5,v2);//error
	std::vector<int> vec(v,v+5);
	
	//ok
	copy(vec.begin(),vec.end(),std::ostream_iterator<int>(std::cout," "));
}
